package edu.scau.mis.pos.service;

import edu.scau.mis.pos.domain.Change;
import edu.scau.mis.pos.domain.OrderItem;

import java.util.List;

public interface IChangeService {
    List<Change> listChanges(String changeSn, String orderId, Integer status, String startTime, String endTime, int pageNum, int pageSize);

    boolean confirmChange(String changeSn, String orderId);

    boolean deleteChange(String changeSn);

    List<OrderItem> getOrderDetailsByOrderId(String orderId);

    List<Change> listAllChanges(int pageNum, int pageSize);

    Change getChangeBySn(String changeSn);

    int updateChange(Change change);

}
